 <?php 
include 'dbCredentials.php';
$link = mysql_connect($MYSQL_HOST, $MYSQL_USER, $MYSQL_PSWD); 
if (!$link) { 
    die('Could not connect: ' . mysql_error()); 
} 
// echo 'Connected successfully'; 
mysql_select_db($MYSQL_DBAS); 
return $link;
?> 